projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b5ccb
)
SPL: Allow ARM926EJS to avoid compiling in the CPU support code
author
Marek Vasut
<
[email protected]
>
Mon, 24 Oct 2011 00:14:23 +0000
(
00:14
+0000)
committer
Albert ARIBAUD
<
[email protected]
>
Tue, 8 Nov 2011 21:16:53 +0000
(22:16 +0100)
This allows the SPL to avoid compiling in the CPU support code.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
Cc: Wolfgang Denk <
[email protected]
>
Cc: Detlev Zundel <
[email protected]
>
Cc: Scott Wood <
[email protected]
>
arch/arm/cpu/arm926ejs/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/Makefile
b/arch/arm/cpu/arm926ejs/Makefile
index 930e0d1bfc5d32fee79f3772508d0f1882433578..a56ff08c90ec52c9d3bd1d308a16f837b295b5e9 100644
(file)
--- a/
arch/arm/cpu/arm926ejs/Makefile
+++ b/
arch/arm/cpu/arm926ejs/Makefile
@@
-28,6
+28,12
@@
LIB = $(obj)lib$(CPU).o
START = start.o
COBJS = cpu.o
+ifdef CONFIG_SPL_BUILD
+ifdef CONFIG_SPL_NO_CPU_SUPPORT_CODE
+START :=
+endif
+endif
+
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
START := $(addprefix $(obj),$(START))